package com.will.rest.service;

import com.will.common.dto.OrderDto;
import com.will.common.response.AjaxResult;
import com.will.rest.service.impl.OrderServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "order-service", fallback = OrderServiceImpl.class)
public interface IOrderService {

    @PostMapping("/order/createOrder")
    AjaxResult createOrder(OrderDto orderDto);
}
